.class public Lcom/waiqin365/lightapp/kehu/b/q;
.super Landroid/widget/BaseAdapter;


# instance fields
.field private a:Ljava/util/ArrayList;

.field private b:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kehu/b/q;->a:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/b/q;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/b/q;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kehu/b/q;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 8

    const v7, 0x7f0c0066

    const v6, 0x7f0c0064

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    const-string/jumbo v2, ""

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/kehu/b/t;

    invoke-direct {v5, p0, p1}, Lcom/waiqin365/lightapp/kehu/b/t;-><init>(Lcom/waiqin365/lightapp/kehu/b/q;Ljava/lang/String;)V

    move-object v3, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    const v2, 0x7f08005f

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v6}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    const v2, 0x7f080058

    invoke-virtual {v1, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(Ljava/lang/String;I)V

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1, v7}, Lcom/waiqin365/compons/view/c;->a(II)V

    const-string/jumbo v1, "#000000"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1, v6}, Lcom/waiqin365/compons/view/c;->a(II)V

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/c;->a(I)V

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/ArrayList;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/b/q;->a:Ljava/util/ArrayList;

    return-void
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/q;->a:Ljava/util/ArrayList;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/q;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    goto :goto_0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/q;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 8

    const/4 v2, 0x0

    const v7, 0x7f0800e4

    const/4 v6, 0x0

    const/16 v5, 0x8

    if-nez p2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03003c

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/waiqin365/lightapp/kehu/b/u;

    invoke-direct {v1, p0, v2}, Lcom/waiqin365/lightapp/kehu/b/u;-><init>(Lcom/waiqin365/lightapp/kehu/b/q;Lcom/waiqin365/lightapp/kehu/b/r;)V

    const v0, 0x7f0c01b8

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->a(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/TextView;)Landroid/widget/TextView;

    const v0, 0x7f0c01b9

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->b(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/TextView;)Landroid/widget/TextView;

    const v0, 0x7f0c01bd

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->c(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/TextView;)Landroid/widget/TextView;

    const v0, 0x7f0c01c0

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->d(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/TextView;)Landroid/widget/TextView;

    const v0, 0x7f0c01c5

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->e(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/TextView;)Landroid/widget/TextView;

    const v0, 0x7f0c01c2

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->a(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/ImageView;)Landroid/widget/ImageView;

    const v0, 0x7f0c01bb

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->a(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/LinearLayout;)Landroid/widget/LinearLayout;

    const v0, 0x7f0c01be

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->a(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/RelativeLayout;)Landroid/widget/RelativeLayout;

    const v0, 0x7f0c01c3

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->b(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/widget/LinearLayout;)Landroid/widget/LinearLayout;

    const v0, 0x7f0c01c1

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/u;->a(Lcom/waiqin365/lightapp/kehu/b/u;Landroid/view/View;)Landroid/view/View;

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    move-object v2, v1

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/q;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/b/q;->a:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v3, 0x1

    if-ne v1, v3, :cond_1

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->a(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    invoke-virtual {v3, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    const-string/jumbo v1, "linkman"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_2

    const-string/jumbo v1, "linkman"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_2

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->b(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->c(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/TextView;

    move-result-object v3

    const-string/jumbo v1, "linkman"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_2
    const-string/jumbo v1, "linkman_mobile"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, "linkman_mobile"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_3

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->d(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/RelativeLayout;

    move-result-object v1

    invoke-virtual {v1, v6}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->e(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/TextView;

    move-result-object v3

    const-string/jumbo v1, "linkman_mobile"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    invoke-virtual {v3, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->f(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/ImageView;

    move-result-object v1

    new-instance v3, Lcom/waiqin365/lightapp/kehu/b/r;

    invoke-direct {v3, p0, v0}, Lcom/waiqin365/lightapp/kehu/b/r;-><init>(Lcom/waiqin365/lightapp/kehu/b/q;Ljava/util/HashMap;)V

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_3
    const-string/jumbo v1, "email"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "email"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_4

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->g(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->h(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/TextView;

    move-result-object v1

    const-string/jumbo v3, "email"

    invoke-virtual {v0, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_4
    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->j(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/kehu/b/s;

    invoke-direct {v1, p0, p1}, Lcom/waiqin365/lightapp/kehu/b/s;-><init>(Lcom/waiqin365/lightapp/kehu/b/q;I)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-object p2

    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/u;

    move-object v2, v0

    goto/16 :goto_0

    :cond_1
    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->a(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/TextView;

    move-result-object v1

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/b/q;->b:Landroid/content/Context;

    invoke-virtual {v4, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    add-int/lit8 v4, p1, 0x1

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1

    :cond_2
    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->b(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_2

    :cond_3
    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->d(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/RelativeLayout;

    move-result-object v1

    invoke-virtual {v1, v5}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto :goto_3

    :cond_4
    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->d(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/RelativeLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_5

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->i(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    :cond_5
    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/b/u;->g(Lcom/waiqin365/lightapp/kehu/b/u;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_4
.end method
